<template>
  <div>
    <svg :style="{ width, height }">
      <use :xlink:href="prefix + name" :fill="colorS"></use>
    </svg>
  </div>
</template>

<script setup>
defineProps({
  width: {
    type: String,
    default: '16px',
  },
  height: {
    type: String,
    default: '16px',
  },
  prefix: {
    type: String,
    default: '#icon-',
  },
  name: String,
  colorS: {
    type: String,
    default: '',
  },
})
</script>
<style scoped lang="less"></style>
